/**
*  \file mon.h
*
*  \brief
*
*  \author   paragen.py
*  \author   Michael J. Hohmann <michael.hohmann@linde-mh.de>
*  \author   Joerg.Treisch      <joerg.treisch@linde-mh.de>
*
*/

#ifndef MON_H_INCLUDED
#define MON_H_INCLUDED

/*================================================[ public includes  ]================================================*/
#include "../cfg/prj.h"
#include "../paragen/paragen.h"
/*================================================[ public defines   ]================================================*/
#define MON_FINGERPRINT_0x4BC3A1BF94BD63DC5785F3365AD8A562

/*================================================[ public datatypes ]================================================*/

/* entries: 34   */ 
struct mon_parameter
{
    U32 switches_current;
    S16 tempmotinv1;
    S16 tempmotinv2;
    U16 ext5vsupply;
    U16 ext13vsupply;
    U16 dclinkvolts;
    U16 accelerator1;
    U16 accelerator2;
    U16 steeranga;
    U16 steerangb;
    U16 reserver1volts;
    U16 reserver2volts;
    U16 cutoffisocurrent;
    U16 maincntcurrent;
    U16 keyswitch;
    S16 encoderspeed;
    U32 switches_outputs;
    U8 maincntpwm;
    U8 isocufoffpwm;
    U16 ext12vsupply;
    U8 pump_motor_rpm;
    U32 component_work_time;
    U32 driver_present_time;
    U32 fan1_open_time;
    U32 fan2_open_time;
    U32 forward_switch_time;
    U32 neutral_switch_time;
    U32 reverse_switch_time;
    U32 traction_forward_time;
    U32 traction_reverse_time;
    U32 lift_switch_time;
    U32 tilt_switch_time;
    U32 aux1_switch_time;
    U32 aux2_switch_time;
}; 

/* Mon-parameter needs no parameter_nv */

/*================================================[ public variables ]================================================*/

extern const struct paragen_object mon_obj;
extern struct mon_parameter const * const mon;

/*================================================[ public functions ]================================================*/

/*====================================================================================================================*/

#endif

/***********************************************************************************************************************
*                             Copyright 2020 Linde Material Handling. All rights reserved.                             *
***********************************************************************************************************************/
